<?php

/**
 * author : Tran Minh Toan
 */

class Warranty{
    /**
     * @var int
     */
    public $warranty_id;
    
    /**
     * @var int
     */
    public $product_id;
    
    /**
     * @var int
     */
    public $user_id_customer;
    
    /**
     * @var int
     */
    public $user_id_employee;
    
    /**
     * @var string
     */
    public $warranty_date_create;
    
    /**
     * @var bool
     */
    public $isReturned;
   
    public function __construct($warranty_id=NULL, $product_id=NULL, $user_id_customer=NULL, 
            $user_id_employee=NULL, $warranty_date_create=NULL, $isReturned=NULL)
    {
        $this->warranty_id          = $warranty_id;
        $this->product_id           = $product_id;
        $this->user_id_customer     = $user_id_customer;
        $this->user_id_employee     = $user_id_employee;
        $this->warranty_date_create = $warranty_date_create;
        $this->isReturned           = $isReturned;
    }
}

class ListWarranty{
    /**
     *
     * @var Branch[]
     */
    public $warranty;
}

?>
